PROJECT FILES FOR:  
	
	Left/Right or U? Estimating the Dimensionality of National Party Competition in Europe
	Thomas König, Moritz Marbach, Moritz Osnabrügge.

	Please contact Moritz Marbach <mmarbach@mail.uni-mannheim.de> if
	you have any problems or questions with these replication files. 

	April 15, 2017
	


INSTRUCTIONS 
============

For files that generate the dataset (for_jags.Rdata) see: 
https://dataverse.harvard.edu/dataset.xhtml?persistentId=hdl:1902.1/29312

The Euroscepticism - Party IDs.csv is based on Taggart, P. (1998). 

estimation.R estimates the main model.
replication.R summarizes the estimates to produce the figures in the paper. 

Originally, we estimated the model with JAGS 3.X but when the article 
was accepted JAGS was at version 4.X. Due to several changes in JAGS codebase,
the results are numerically not identical even when using the same seeds.

For the section in replication.R where we compare the model estimates 
to those from CHES and Taggart, the following datasets have to be placed 
in ./data/:

MPDataset_full2010b.csv; (the CMP dataset 2010b, https://manifesto-project.wzb.eu/)
1999-2006_ChapelHillSurvey.csv; (the CHES dataset, http://chesdata.eu/)
pargov_party.csv; (the party_view table from ParlGov, http://www.parlgov.org/).
 

sessionInfo() 
==============

R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin16.3.0 (64-bit)
Running under: macOS Sierra 10.12.3

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rjags_4-6      coda_0.19-1    colorout_1.1-2

loaded via a namespace (and not attached):
[1] grid_3.3.2      lattice_0.20-34

